package com.ruoyi.query.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.query.entity.QueryDtl;

import java.io.Serializable;
import java.util.Collection;

/**
 * <p>
 * 动态查询详细 服务类
 * </p>
 *
 * @author XiaShiLong
 * @since 2021-03-25
 */
public interface QueryDtlService extends IService<QueryDtl> {

    /**
     * 根据父级id删除
     *
     * @param queryId 查询id
     * @return boolean
     */
    boolean removeByQueryId(Long queryId);

    /**
     * 根据父级id删除
     *
     * @param queryIds 查询id
     * @return boolean
     */
    boolean removeByQueryId(Collection<? extends Serializable> queryIds);
}
